/***********************************************************************
 * Module:  EquipmentController.java
 * Author:  Administrator
 * Purpose: Defines the Class EquipmentController
 ***********************************************************************/

package ishitong.deviceManagement.controller;

import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/** @pdOid 134cf290-0390-4773-a57c-0327849a1b1c */
@Controller
public class EquipmentController extends ishitong.common.controller.ActionController {
   /** @pdOid a7bbeeb8-410a-419b-993f-c740fcbf2e9b */
   private static final String EQPT_SCH = "/deviceManagement/equipment/equipmentSearch";
   /** @pdOid b239cbae-0d5a-4447-ae6a-fed2b72b33e7 */
   private static final String EQPT_SCH_LST = "/deviceManagement/equipment/equipmentSearchList";
   /** @pdOid 7fe756ac-682c-4efd-a423-2ebb32baf118 */
   private static final String EQPT_VIW = "/deviceManagement/equipment/equipmentView";
   /** @pdOid 8052f755-0163-49ae-bb44-557a28b426b1 */
   private static final String EQPT_EDT = "/deviceManagement/equipment/equipmentEdit";
   
   /** 查询装备信息页面初始化
    * 
    * @param request
    * @exception Exception
    * @pdOid ac88554e-61a8-478f-985a-816b71d7283a */
   @RequestMapping(value = "/showEquipmentSearch.do")
   public ModelAndView handleShowEquipmentSearch(HttpServletRequest request) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(EQPT_SCH, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查询装备信息
    * 
    * @param request
    * @pdOid cd6de143-4495-48ed-902f-76f0c503ca41 */
   @RequestMapping(value = "/ajaxEquipmentSearchList.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxFindEquipmentSearchList(HttpServletRequest request) {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(EQPT_SCH_LST, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 维护装备信息页面初始化
    * 
    * @param request 
    * @param response 
    * @param equipmentId
    * @exception Exception
    * @pdOid 3f857d7a-4f27-45a6-92e6-38a0c7f3ad91 */
   @RequestMapping(value = "/ajaxShowEquipmentEdit.do")
   public ModelAndView handleAjaxShowEquipmentEdit(HttpServletRequest request, HttpServletResponse response, String equipmentId) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(EQPT_EDT, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 查看装备信息页面初始化
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid 0c58c96e-1b8d-4f75-ac77-feeb88509124 */
   @RequestMapping(value = "/ajaxShowEquipmentView.do", method = RequestMethod.POST)
   public ModelAndView handleAjaxShowEquipmentView(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   		Map<String, Object> model = new HashMap<>();
   		return new ModelAndView(EQPT_VIW, model);
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   	return null;
   }
   
   /** 保存装备信息
    * 
    * @param request 
    * @param response
    * @exception Exception
    * @pdOid b7490aaf-92b7-455a-a023-06751bd3be63 */
   @RequestMapping(value = "/ajaxSaveEquipment.do", method = RequestMethod.POST)
   public void handleAjaxSaveEquipment(HttpServletRequest request, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }
   
   /** 删除装备信息
    * 
    * @param request 
    * @param equipmentIds 
    * @param response
    * @exception Exception
    * @pdOid 80d4ecea-529f-45c1-b6a2-42abffded89f */
   @RequestMapping(value = "/ajaxDeleteEquipmentByIds.do", method = RequestMethod.POST)
   public void handleAjaxDeleteEquipmentByIds(HttpServletRequest request, String equipmentIds, HttpServletResponse response) throws Exception {
   	try {
   
   	} catch (Exception e) {
   		e.printStackTrace();
   	}
   }

}